package com.gxa.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("客服问题信息的实体")
public class SysQuestionManagement {

  @ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
  private Integer id;
  @ApiModelProperty(name = "type",notes = "问题类型",dataType = "Integer",required = false)
  private Integer type;
  @ApiModelProperty(name = "status",notes = "问题状态",dataType = "Integer",required = false)
  private Integer status;
  @ApiModelProperty(name = "title",notes = "问题标题",dataType = "String",required = false)
  private String title;
  @ApiModelProperty(name = "label",notes = "问题标签",dataType = "String",required = false)
  private String label;
  @ApiModelProperty(name = "description",notes = "问题描述",dataType = "String",required = false)
  private String description;
  @ApiModelProperty(name = "solution",notes = "解决方案",dataType = "String",required = false)
  private String solution;
  @ApiModelProperty(name = "userId",notes = "创建人ID(外键)",dataType = "Integer",required = false)
  private Integer userId;
  @ApiModelProperty(name = "creator",notes = "创建人姓名",dataType = "String",required = false)
  private String creator;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "Timestamp",required = false)
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Timestamp createTime;
  @ApiModelProperty(name = "updateTime",notes = "修改时间",dataType = "Timestamp",required = false)
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Timestamp updateTime;
  @ApiModelProperty(name = "isDeleted",notes = "是否删除",dataType = "Integer",required = false)
  private Integer isDeleted;


}
